Polymorphic Call-by-Value Calculus Based on Classical Proofs
نویسنده
چکیده
We introduce a polymorphic call-by-value calculus, λexc, based on 2nd order classical logic. The call-by-value computation rules are defined based on proof reductions, in which classical proof reductions are regarded as a logical permutative reduction in the sense of Prawitz and a dual permutative reduction. It is shown that the CPS-translation from the core λexc to the intuitionistic fragment, i.e., the Damas-Milner type system is sound. We discuss that the use of the dual permutative reduction is, in general, uncorrected in polymorphic calculi. We also show the Church-Rosser property of λexc, and the soundness and completeness of the type inference algorithm W. From the subject reduction property, it is obtained that a program whose type is inferred by W never leads to a type-error under the rewriting semantics. Finally, we give a brief comparison with ML plus callcc and some of the existing call-by-value styles.
منابع مشابه
Programming and Proving with Classical Types
The propositions-as-types correspondence is ordinarily presented as linking the metatheory of typed λ-calculi and the proof theory of intuitionistic logic. Griffin observed that this correspondence could be extended to classical logic through the use of control operators. This observation set off a flurry of further research, leading to the development of Parigot’s λμ-calculus. In this work, we...
متن کاملArithmetical proofs of strong normalization results for symmetric lambda calculi
We give arithmetical proofs of the strong normalization of two symmetric λ-calculi corresponding to classical logic. The first one is the λμμ̃-calculus introduced by Curien & Herbelin. It is derived via the Curry-Howard correspondence from Gentzen’s classical sequent calculus LK in order to have a symmetry on one side between “program” and “context” and on other side between “call-by-name” and “...
متن کاملMonadic translation of classical sequent calculus
We study monadic translations of the call-by-name (cbn) and the call-by-value (cbv) fragments of the classical sequent calculus λμμ̃ by Curien and Herbelin and give modular and syntactic proofs of strong normalization. The target of the translations is a new meta-language for classical logic, named monadic λμ. It is a monadic reworking of Parigot’s λμ-calculus, where the monadic binding is confi...
متن کاملArithmetical Proofs of Strong Normalization Results for Symmetric ?-calculi
We give arithmetical proofs of the strong normalization of two symmetric λ-calculi corresponding to classical logic. The first one is the λμμ̃-calculus introduced by Curien & Herbelin. It is derived via the Curry-Howard correspondence from Gentzen’s classical sequent calculus LK in order to have a symmetry on one side between “program” and “context” and on other side between “call-by-name” and “...
متن کاملDeclarative Semantics for Functional Languages
We present a semantics for an applied call-by-value lambda-calculus that is compositional, extensional, and elementary. We present four different views of the semantics: 1) as a relational (big-step) semantics that is not operational but instead declarative, 2) as a denotational semantics that does not use domain theory, 3) as a non-deterministic interpreter, and 4) as a variant of the intersec...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998